<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Parsing</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.commonmark-parse" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">CommonMark\Parse</h1>
  <p class="verinfo">(cmark &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">CommonMark\Parse</span> &mdash; <span class="dc-title">Parsing</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.commonmark-parse-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>CommonMark\Parse</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$content</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$options</code></span>
  ] ) : <span class="type"><span class="type CommonMark\Node">CommonMark\Node</span></span></div>

  <p class="para rdfs-comment">
  Shall parse <code class="parameter">content</code>
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.commonmark-parse-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">content</code></dt>

    <dd>

     <p class="para">
      markdown string
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">options</code></dt>

    <dd>

     <p class="para">
      A mask of:
     </p>
     <dl>

     
      <dt>

       <strong><code>CommonMark\Parser\Normal</code></strong>
       (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </dt>

      <dd>

       <span class="simpara">
       </span>
      </dd>

     
     
      <dt>

       <strong><code>CommonMark\Parser\Normalize</code></strong>
       (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </dt>

      <dd>

       <span class="simpara">
       </span>
      </dd>

     
     
      <dt>

       <strong><code>CommonMark\Parser\ValidateUTF8</code></strong>
       (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </dt>

      <dd>

       <span class="simpara">
       </span>
      </dd>

     
     
      <dt>

       <strong><code>CommonMark\Parser\Smart</code></strong>
       (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </dt>

      <dd>

       <span class="simpara">
       </span>
      </dd>

     
     </dl>

    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.commonmark-parse-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Shall return root CommonMark\Node
  </p>
 </div>



</div></div></div></body></html>